package com.dpwgc.pan.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 用户
 */
@TableName(value = "pan_user")
public class User {

    @TableId(value = "user_id",type = IdType.AUTO)
    private int userId;//用户id
    private String userUuid;//用户uuid
    private String email;//用户邮箱地址
    private String phone;//用户电话号码
    private String nickName;//用户昵称
    private String password;//用户密码
    private String createTime;//用户创建时间
    private String updateTime;//用户最近更新时间
    private String headImg;//用户头像
    private int storageSize;//个人存储空间大小
    private int userStatus;//用户状态：1正常 2封禁 3删除
    private String dataLocation;//用户文件存储位置

    public void setStorageSize(int storageSize) {
        this.storageSize = storageSize;
    }

    public int getStorageSize() {
        return storageSize;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public void setUserUuid(String userUuid) {
        this.userUuid = userUuid;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setUserStatus(int userStatus) {
        this.userStatus = userStatus;
    }

    public String getPassword() {
        return password;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public String getPhone() {
        return phone;
    }

    public int getUserId() {
        return userId;
    }

    public String getHeadImg() {
        return headImg;
    }

    public int getUserStatus() {
        return userStatus;
    }

    public String getUserUuid() {
        return userUuid;
    }

    public String getEmail() {
        return email;
    }

    public String getNickName() {
        return nickName;
    }

    public void setDataLocation(String dataLocation) {
        this.dataLocation = dataLocation;
    }

    public String getDataLocation() {
        return dataLocation;
    }
}
